package cn.lixin.hrm;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication//(exclude = DataSourceAutoConfiguration.class)  不扫描数据库
@MapperScan("cn.lixin.hrm.mapper")
@EnableCaching // 开启缓存支持
@EnableFeignClients(value = "cn.lixin.hrm.client") //
public class CourseApp1060 {
    public static void main(String[] args) {
        SpringApplication.run(CourseApp1060.class);
    }
}
